Skip to content

Deploy ClickHouse on Google Cloud C4A (Arm-based Axion VMs)#33

Merged
odidev merged 1 commit intomainfrom
clickhouse_LP
Dec 9, 2025
Merged

Deploy ClickHouse on Google Cloud C4A (Arm-based Axion VMs)#33
odidev merged 1 commit intomainfrom
clickhouse_LP

Conversation

@odidev
Copy link
Copy Markdown
Owner

@odidev odidev commented Dec 1, 2025

No description provided.

This tool measures **query throughput and latency**.

### Verify the benchmarking tool exists
Confirms that `clickhouse-benchmark` is installed and available on the system before running performance tests.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Confirms that `clickhouse-benchmark` is installed and available on the system before running performance tests.
Confirm that `clickhouse-benchmark` is installed and available on the system before running performance tests.

```

### Prepare benchmark database and table
Creates a test database and table structure where sample data will be stored for benchmarking.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Creates a test database and table structure where sample data will be stored for benchmarking.
Create a test database and table structure where sample data will be stored for benchmarking.

exit;
```
### Load benchmark data
Inserts 1 million sample records into the table to simulate a realistic workload for testing query performance.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Inserts 1 million sample records into the table to simulate a realistic workload for testing query performance.
Insert 1 million sample records into the table to simulate a realistic workload for testing query performance.


**Verify:**

Checks that the data load was successful by counting the total number of rows in the table.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Checks that the data load was successful by counting the total number of rows in the table.
Check that the data load was successful by counting the total number of rows in the table.

```


### Benchmark aggregation query
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not in bold.



### Benchmark aggregation query
Tests the performance of grouping and aggregation operations, demonstrating analytical query efficiency.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Tests the performance of grouping and aggregation operations, demonstrating analytical query efficiency.
Test the performance of grouping and aggregation operations, demonstrating analytical query efficiency.

99.99% 0.008 sec.
```

### Benchmark concurrent read workload
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in bold.

```

### Benchmark concurrent read workload
Runs multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Runs multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing.
Run multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing.

```console
sudo systemctl status clickhouse-server
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This confirms that the ClickHouse server is running correctly under systemd and ready to accept connections.
Output:



### Verify ClickHouse is running
confirms that the ClickHouse server is running correctly under systemd and ready to accept connections.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Peak memory usage: 3.96 MiB.
```

**Verify row count:**
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add one-liner spacing

| Read (High Concurrency) | Filtered COUNT | `COUNT(*) WHERE user_id % 10 = 0` | 20 | 8 | 99.72 | 99.72 M | 760.83 | 29 ms | 63 ms | 78 ms |
| Write | Bulk Insert | `INSERT SELECT … FROM numbers(500000)` | 5 | 4 | 20.94 | 10.47 M | 79.86 | 68 ms | 73 ms | 73 ms |

### ClickHouse benchmarking comparison on Arm64 and x86_64
Copy link
Copy Markdown

@RahulAggarwalPuresoftware RahulAggarwalPuresoftware Dec 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't highlight results on x86. Simply write:

Benchmark comparison insights:

@odidev odidev force-pushed the clickhouse_LP branch 3 times, most recently from e19ef38 to 57a7ea3 Compare December 3, 2025 11:51
Signed-off-by: odidev <odidev@puresoftware.com>
@odidev odidev merged commit 513739d into main Dec 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants